package com.seed.core.builder.pojo;

import com.seed.core.enumeration.Direction;

public class OrderBy1 {
    private final Table1 table;
    private final String column;
    private final Direction direction; // asc, desc

    public OrderBy1(Table1 table, String column, Direction direction) {
        this.table = table;
        this.column = column;
        this.direction = direction;
    }

    public Table1 getTable() {
        return table;
    }

    public String getColumn() {
        return column;
    }

    public Direction getDirection() {
        return direction;
    }
}
